The number of milliseconds to wait before the database reports a lock time - out 数据库报告锁定超时之前要等待的毫秒数。
Returns the current lock time - out setting in milliseconds for the current session 返回当前会话的当前锁定超时设置(毫秒) 。
This event occurs only in situations where the lock time - out value is greater than zero 仅在锁超时值大于零的情况下才会发生此类事件。
The default for the lock time out is zero , which means that it will block indefinitely while waiting for the lock 方法执行此操作。默认的锁定超时为0 ,这表示在等待锁定时将无限期地阻止访问。
For this reason , pessimistic concurrency is best implemented when lock times will be short , as in programmatic processing of records 因此,如果锁定时间将会比较短(例如在以编程方式处理记录时) ,最好实现保守式并发。